import Vue from 'vue'
import Vuex from 'vuex'
import { login } from '@/views/login/model'
import { hms } from '@/views/hms/model'
import { getters } from './getters'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    opt: {
      num: 0
    }
  },
  modules: {
    login,
    hms
  },
  getters,
  plugins: []
})
